<?php
/**
 * 租房模块入口
 */

require_once './source/class/class_core.php';

$core = & core::instance();

//允许访问的模块
$modarray = array('list', 'view', 'post', 'center');

//当前模块
$mod = !in_array($_GET['mod'], $modarray) ? 'index' : $_GET['mod'];

$core->init();

require ROOT.'./source/module/rent/rent_'.$mod.'.php';


?>

